package com.pand.mysql.model;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by lh on 2017/11/9.
 */
@Entity
@Table(name = "t_station")
public class Station implements Serializable{
    @Id
    private Long id;
    private String name;
    private Double latitude;
    private Double longitude;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }
}
